package com.example.stu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (dormitory_student_detail)表实体类
 *
 * @author HuangXianJun
 * @date 2021-03-16 17:27:52
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "dormitory_student_detail")
public class DormitoryStudentDetail extends Model<DormitoryStudentDetail> {
    //主键id
    @TableId(type = IdType.AUTO)
    private Integer id;
    //寝室id
    private Integer dormitoryId;
    //寝室名
    private String dormitoryName;
    //学生学号
    private Integer studentId;
    //学生姓名
    private String studentName;
}
